CREATE TABLE [dbo].[Product]
(
[ProductCode] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ProductDescription] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CategoryCode] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
ALTER TABLE [dbo].[Product] ADD
CONSTRAINT [FK_Product_Category] FOREIGN KEY ([CategoryCode]) REFERENCES [dbo].[Category] ([CategoryCode])
GO
ALTER TABLE [dbo].[Product] ADD CONSTRAINT [PK_Product] PRIMARY KEY CLUSTERED  ([ProductCode]) ON [PRIMARY]
GO
